<nz-card>
  <sf #slqdSF
    mode="search"
    [schema]="slqdSchema"
    [button]="null"
  >
  </sf>  
  <div nz-row>
    <div nz-col nzSpan="12" style="padding-left: 5px;padding-bottom: 5px;"><button (click)="slqdAdd()" nz-button nzType="primary"><i nz-icon nzType="plus"></i>渠道新增</button></div>
    <div nz-col nzSpan="12" style="text-align: right;padding-right: 5px;padding-bottom: 5px;">
      <button (click)="slqdQuery(true)" nz-button nzType="primary"><i nz-icon nzType="search"></i>检索</button>
      <button (click)="this.slqdSF.reset()" nz-button nzType="default"><i nz-icon nzType="reload" nzTheme="outline"></i>重置</button>
    </div>
  </div>

  <lb-grid #slqdST  [columns]="slqdColumns" [sname]="params.slqdSname" [queryparas]="params.form">
    <ng-template lb-row="custom" let-item let-index="index" let-column="column">
      <nz-switch [ngModel]="item.AAE100=='1'"  (ngModelChange)="changeSlqdState(index)" ></nz-switch>
   </ng-template>
  </lb-grid> 
</nz-card>

<nz-modal [(nzVisible)]="slqdAddVisible" nzTitle="添加渠道" (nzOnCancel)="slqdAddCancel()" (nzOnOk)="slqdAddOk()" nzWidth="850">
    <sf  #slqdAddSF [schema]="slqdAddSchema" [button]="null" nzOkText="保存"  autocomplete="off">
    </sf>
</nz-modal> 

<nz-modal [(nzVisible)]="slqdUpVisible" nzTitle="渠道修改" (nzOnCancel)="slqdUpCancel()" (nzOnOk)="slqdUpOk()" nzWidth="850">
  <sf  #slqdUpSF [schema]="slqdUpSchema"  [button]="null" nzOkText="保存"  autocomplete="off">
  </sf>
</nz-modal> 


